package cn.topcodes.tcsf.app.domain.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * Created by Unicorn on 2017/7/26.
 */
@Data
public class AppAboutSettings implements Serializable {

    @Length(min = 0, max = 100, message = "公司名称长度为0~100个字符")
    private String companyName;

    @Length(min = 0, max = 100, message = "公司地址长度为0~100个字符")
    private String companyAddress;

    @Length(min = 0, max = 100, message = "公司电话长度为0~100个字符")
    private String companyTel;

    @Length(min = 0, max = 100, message = "公司邮箱长度为0~100个字符")
    private String companyEmail;

    @Length(min = 0, max = 200, message = "公司主页长度为0~200个字符")
    private String companyUrl;
}
